package com.lcxsoft.feign.entity;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author testjava
 * @since 2022-01-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CustomUser implements Serializable {

    private static final long serialVersionUID = 1L;

    private String userId;

    private String userNickname;

    private String userPhone;

    private String userPassword;

    private String userGender;

    private BigDecimal userBalance;

    private String userDormitory;

    @DateTimeFormat( pattern = "yyyy-MM-dd")
    private LocalDate userBirthday;

    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createtime;

    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatetime;

    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deletetime;

    private Boolean deleteflag;

    private String avatar;


}
